<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
	pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<div>
<s:form action="/users/User.action" method="POST">
	<s:hidden name="mode" value="A"></s:hidden>
	<table> 
		<tr>
			<td class="title" colspan="2"><s:text name="register.title" /></td>
		</tr>
		<tr>
			<td><s:textfield key="register.userId" name="userId"></s:textfield></td>
		</tr>
		<tr>
			<td><s:textfield key="register.userName" name="username"></s:textfield></td>
		</tr>
		<tr>
			<td><s:password key="register.password" name="password"></s:password> <s:fielderror key="register.password.invalid"/></td>
		</tr>
		<tr>
			<td><s:password key="register.passwordConfirmation" name="passwordConfirmation"></s:password></td>
		</tr>
		<tr>
			<td><s:textfield key="register.email" name="email"></s:textfield></td>
		</tr>
		<tr>
			<td><s:checkbox key="register.admin" name="admin"></s:checkbox></td>
		</tr>
		<tr>	
			<td colspan="2">
				<s:submit key="register.save" cssClass="action"/>
			</td>
		</tr>
	</table>
</s:form>
</div>